﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="website_admin_bbs_topic_replies"
    CodeBehind="topic_replies.aspx.cs" %>

<%@ Register Src="~/admin/_root/_controls/ctlNavBar.ascx" TagName="ctlNavBar" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>主题管理</title>

    <script language="javascript" src="../_common/scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
  
    <script type="text/javascript" language="javascript" src="../_common/scripts/util.js"></script>

    <script type="text/javascript" src="../../_common/scripts/jquery_regform_validator.js"></script>

    <script type="text/javascript" src="../_common/scripts/jq_comment_utility.js"></script>

    <link href="../../_common/styles/form_2_0.css" rel="stylesheet" type="text/css" />
    <link href="../../_common/styles/community.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            validator.setup("#form1"); 
            TagObjectId = "divcommentslist";
            LoadingRepliesList("divcommentslist");
        }); 
    </script>

</head>
<body scrool="no" style="margin: 0px; padding: 0px;">
    <form id="form1" runat="server">
    <input name="txtCreatedBy" type="hidden" id="txtCreatedBy" runat="server" />
    <input name="txtBBSID" type="hidden" id="txtBBSID" runat="server" />
    <input name="txtItemsId" type="hidden" id="txtItemsId" />
    <div class="divAreas">
        <div class="boxTopBar_1">
            <div class="navBar">
                <uc1:ctlNavBar ID="CtlNavBar1" runat="server" />
            </div>
        </div>
        <div id="middleCentered" style="float: left; margin-left: 22px; overflow-y: scroll; overflow-x: hidden; height: 520px; width: 920px;">
            <div class="community_area" style=" float: left;">
                <div class="ctnerT">
                    <h3>
                        详细信息</h3>
                    <h2>
                        <a class="cmnbtn btnD" href="javascript:window.location.href='topiclist.aspx?groupid='+getUrlParam('groupid');"
                            title="返回问题列表"><span>&lt;&lt; 返回问题列表</span></a>
                    </h2>
                </div>
                <div class="reviewList">
                    <div class="listCell ">
                        <div class="title ">
                            <h2 id="lblTitle" runat="server">
                            </h2>
                            <span class="pubDate">
                                <asp:Label ID="lblPubDate" runat="server"></asp:Label></span>
                        </div>
                        <div class="clear">
                        </div>
                        <dl class="userInfo">
                            <dd style="height: 50px;">
                                <p>
                                    发布人：
                                    <asp:Label ID="lblAuthor" runat="server"></asp:Label></p>
                                <p>
                                    E-Mail：
                                    <asp:Label ID="lblEmail" runat="server"></asp:Label></p>
                            </dd>
                        </dl>
                        <div class="content">
                            <dl>
                                <dd class="textBlock">
                                    <div class="resultHighLight">
                                        <asp:Label ID="lblContent" runat="server"></asp:Label>
                                    </div>
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div id="divcommentslist">
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div id="panelCommentEditor">
                    <form id="form2" name="form1">
                    <div id="loading1" style="display: none; position: absolute; z-index: 300; width: 250px; float: left;
                        height: 64px; height: auto; border: solid #cccccc 1px; font-size: 12px;  margin-top: 100px; margin-left: 0px;">
                        <table style="line-height: 55px; padding: 5px 3px 5px 3px; width: 100%;" align="center">
                            <tr>
                                <td valign="middle">
                                    <img border="0" src="../_imgs/admin/progress.gif" />
                                </td>
                                <td valign="middle">
                                    &nbsp;加载数据 ...<br />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="ctnerT">
                        <h3>
                            回复本贴</h3>
                    </div>
                    <div class="ctnerBody">
                        <div class="formA">
                            <dl>
                                <dt>姓名：</dt>
                                <dd>
                                    <input id="txtAuthor" type="text" class="input120 tbxReadOnly" maxlength="50" runat="server"
                                        style="width: 500px;"   /><span id="spanAuthor"></span>
                                </dd>
                            </dl>
                            <dl>
                                <dt>E-Mail：</dt>
                                <dd>
                                    <input id="txtEmail" type="text" class="input120 tbxReadOnly" maxlength="50" runat="server"
                                        style="width: 500px;"   /><span id="spanEmail"></span>
                                </dd>
                            </dl>
                            <dl>
                                <dt>主题：</dt>
                                <dd>
                                    <input id="txtTitle" type="text" class="input120 tbxReadOnly" maxlength="50" runat="server"
                                        style="width: 500px;"   /><span id="spanTitle"></span>
                                </dd>
                            </dl>
                            <dl>
                                <dt>内容：</dt>
                                <dd>
                                    <textarea id="txtComments" class="cmnTArea" maxlength="800" validatormsg="spanComments"
                                        required="required" controlname="" isvalidator></textarea><span id="spanComments"></span>
                                </dd>
                            </dl>
                            <div class="clear">
                            </div>
                            <div class="btnLine">
                                <div id="msg">
                                    <a class="cmnbtn_120" href="javascript:void(0);" onclick="javascript:if(validator.validatorAll()){this.disabled=true;SaveReply();this.disabled=false;}"
                                        id="btnSaveComments" title="Submit"><span>提交回复</span></a>
                                </div>
                            </div>
                        </div>
                    </div>
                    </form>
                </div>
                <div class="clear">
                </div>
                <a href="###" name="write"></a>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
